package nyist.media.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 七牛云配置
 * @author : dcf
 **/
@Component
@ConfigurationProperties(prefix = "qiniu")
@Data
public class QiniuProperties {

    /**
     * appid
     */
    private String access_key;
    /**
     * appsecret
     */
    private String secret_key;

    /**
     * 空间名
     */
    private String bucket_name;
    /**
     * 主域名
     */
    private String domain;
}
